//
//  KeyboardViewController.h
//  NetPhone
//
//  Created by intel intel on 12-4-25.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "KeyboardView.h"
#import <AddressBook/AddressBook.h>
#import <AddressBookUI/AddressBookUI.h>
#import "CallRecordViewController.h"

#import "UIImageView+WebCache.h"
#import "NewNetWork.h"
#import "TCPRequest.h"
#import "ASIFormDataRequest.h"
#import "HttpForAgent.h"
#import "BarnnerMsgView.h"
#import "ScrollMsgScrollView.h"
#import "BannerView.h"
//
#define HEADER_HEIGHT 20

@interface KeyboardViewController : UIViewController<BarnnerDelegate,UIActionSheetDelegate,UITableViewDelegate,UITableViewDataSource,KeyboardDelegate,ABNewPersonViewControllerDelegate,UIScrollViewDelegate,newNetWorkDelegate,AsyncSocketDelegate,TCPNetWorkDelegate,ASIHTTPRequestDelegate,requestForAgentDelegate>
{
    KeyboardView *keyboardView;
    UITableView *dataTableView;
    NSMutableArray *rows;
    CallRecordViewController *callRecordViewController;
    UIView *headerView;
    UILabel *leftLabel;
    UILabel *rightLabel;
    int Request_Type;
    UIImageView* bg;
    UIScrollView* bgScroll;
    int timeCount;
    int pageNum;
    BOOL pageControlBeingUsed;
    BOOL directions;
    NSMutableArray* array;
    UIPageControl* pgContrl;
    int tag;
    BannerView* bgView;
    NSString* priStr;
    NewNetWork* net_work;
    UIView* tabBarView;
    UIButton* callButton;
    UInt64 startTime;
    UInt64 endTime;
    int tongji;
    
    ScrollMsgScrollView*barnnerMsgView;
    //BarnnerMsgView*barnnerMsgView;
    HttpForAgent* httpAgent;
    HttpForAgent* httpAgent1;
    
    NSMutableArray* urlAddArr;
    
}
//@property (nonatomic,retain)NSTimer* myTimer;
@property (nonatomic,retain)NSString * personPhone;
@property (nonatomic,retain)NSString *userName;
-(void)showKeyboard;

@end
